import request from "@/utils/request.js";

//添加
export const bgAddService = (bgData) => {
    return request.post('/bg/add',bgData);
}

//编辑
export const bgUpdateService = (bgData) => {
    return request.put('/bg',bgData);
}

//删除
export const bgDeleteService = (bgId) => {
    return request.delete('/bg?bgId='+bgId)
}

//查询
export const bgListService = (params) => {
    return request.get('/bg/list',{params:params});
}

